package hsb.ruoyi.common.config;

import com.github.pagehelper.cache.Cache;

import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;

/**
 * @author 胡帅博
 * @date 2023/1/1 19:27
 */
public class PageHelperCache implements Cache {

    Map<Object,Object> map = new ConcurrentHashMap<>();

    @Override
    public Object get(Object key) {
        return map.get(key);
    }

    @Override
    public void put(Object key, Object value) {
        map.put(key,value);
    }


}
